package com.fdb.efp.nls.service.dao;

import com.fdb.efp.nls.service.domain.SUserOrg;

import java.util.List;

/**
 * <p>DAO interface:系统机构用户				<p>
 * @author chenqm1
 * @date 2018-05-03
 */
public interface SUserOrgDao {
	
	public int insertSUserOrg(SUserOrg sUserOrg);
	public int insertSUserOrgOrUpdateByPk(SUserOrg sUserOrg);
	
	public int deleteByPk(SUserOrg sUserOrg);
	
	public int updateByPk(SUserOrg sUserOrg);
	
	public SUserOrg queryByPk(SUserOrg sUserOrg);
	public List<SUserOrg> queryByLegalOrgCode(SUserOrg sUserOrg);

	public List<SUserOrg> queryAllOwnerByPage(SUserOrg sUserOrg);
	
	public List<SUserOrg> queryAllCurrOrgByPage(SUserOrg sUserOrg);
	
	public List<SUserOrg> queryAllCurrDownOrgByPage(SUserOrg sUserOrg);

	public SUserOrg queryByOrgCode(SUserOrg sUserOrg);

}